<?php 
	Class CommonAction extends Action{
		public function _initialize(){//默认运行
			//session验证
			if(!isset($_SESSION['username']))	$this->redirect('Admin/Login/index');
		}


	}

 ?>